/*
 * Copyright 2007-2008  Lukasz Laszko lukaszlaszko@gmail.com
 * 
 * Permission to use, copy, modify, and distribute this software
 * and its documentation for any purpose and without fee is hereby
 * granted, provided that the above copyright notice appear in all
 * copies and that both that the copyright notice and this
 * permission notice and warranty disclaimer appear in supporting
 * documentation, and that the name of the author not be used in
 * advertising or publicity pertaining to distribution of the
 * software without specific, written prior permission.
 * 
 * The author disclaim all warranties with regard to this
 * software, including all implied warranties of merchantability
 * and fitness.  In no event shall the author be liable for any
 * special, indirect or consequential damages or any damages
 * whatsoever resulting from loss of use, data or profits, whether
 * in an action of contract, negligence or other tortious action,
 * arising out of or in connection with the use or performance of
 * this software. 
 */
package org.pg.biomedics.asr.mpeg7;

import java.util.List;
import java.util.ArrayList;

/**
 * A PhoneLexicon is a list of phones representing the set of phonetic units (basic
 * sounds) used to describe a given language. Each entry of the lexicon is an
 * identifier representing a phonetic unit, according to a specific phonetic alphabet.
 * A WordLexicon consists of the following elements:
 * • phoneticAlphabet: is the name of an encoding scheme for phonetic symbols
 * (see below).
 * • NumOfOriginalEntries: is the size of the phonetic lexicon. It depends on the
 * spoken language (generally around 40 units) and the chosen phonetic alphabet.
 * • A series of Token elements: each one stores a Phone string corresponding to an
 * entry of the lexicon. The Phone strings must not contain white-space characters.
 * 
 * @author Lukasz Laszko 
 */
public class PhoneLexicon extends Lexicon
{
    // <editor-fold desc="Fields">
    
    private List<PhoneToken> tokens = new ArrayList<PhoneToken>();    
    
    // </editor-fold>
    
    // <editor-fold desc="Properties">
    
    /**
     * Gets reference to tokens list
     * @return list of tokens
     */
    public List<PhoneToken> getTokens()
    {
        return tokens;
    }
    
    // </editor-fold>
}
